cmake_minimum_required(VERSION 2.8)
project(l4rb C)
set(CMAKE_BUILD_TYPE RELEASE)
set(src l4rb.c ringbuffer.c websocket.c base64.c sha1.c)
add_library(l4rb SHARED ${src})
add_definitions(-std=c11 -Wall -Wextra -fno-strict-aliasing)
add_executable(server test.c)
target_link_libraries(server l4rb)
include_directories(l4rb PRIVATE .)
